import request from '@/utils/request'
const BASE_URL = '/common/images'

/**
 * @deprecated 查询图片库列表
 * @param {*} query 
 * @returns 
 */
export function queryList(query) {
  return request({
    url: BASE_URL,
    method: 'get',
    params: query
  })
}
// 删除图片
export function deleteOne(id) {
  return request({
    url: BASE_URL +'/'+ id,
    method: 'delete'
  })
}